package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公告-客服对象 sys_notice_service
 * 
 * @author ruoyi
 * @date 2024-03-11
 */
public class SysNoticeService extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知主键 */
    private Long noticeid;

    /** 公告详情 */
    @Excel(name = "公告详情")
    private String content;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 状态-0不可用  1表示可用-默认可用 */
    @Excel(name = "状态-0不可用  1表示可用-默认可用")
    private Integer status;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedate;

    /** 所有者id--用于后续小程序加盟--数据隔离--默认为1 */
    @Excel(name = "所有者id--用于后续小程序加盟--数据隔离--默认为1")
    private String ownerid;

    /** 客服微信二维码 */
    @Excel(name = "客服微信二维码")
    private String serverPic;

    public Long getNoticeid() {
        return noticeid;
    }

    public void setNoticeid(Long noticeid) {
        this.noticeid = noticeid;
    }

    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setUpdatedate(Date updatedate) 
    {
        this.updatedate = updatedate;
    }

    public Date getUpdatedate() 
    {
        return updatedate;
    }
    public void setOwnerid(String ownerid) 
    {
        this.ownerid = ownerid;
    }

    public String getOwnerid() 
    {
        return ownerid;
    }
    public void setServerPic(String serverPic) 
    {
        this.serverPic = serverPic;
    }

    public String getServerPic() 
    {
        return serverPic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticeid", getNoticeid())
            .append("content", getContent())
            .append("createdate", getCreatedate())
            .append("status", getStatus())
            .append("updatedate", getUpdatedate())
            .append("ownerid", getOwnerid())
            .append("serverPic", getServerPic())
            .append("remark", getRemark())
            .toString();
    }
}
